home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / gengetopt-2.6.lha / gengetopt-2.6 / config.status < prev    next >
Text File  |  2002-06-24  |  11KB  |  303 lines

  1. #! /bin/sh
  2. # Generated automatically by configure.
  3. # Run this file to recreate the current configuration.
  4. # This directory was configured as follows,
  5. # on host ciberpunk.ath.cx:
  6. #
  7. # ./configure  --prefix=/usr --build=m68k-unknown-amigaos --host=m68k-unknown-amigaos --cache-file=/etc/config.cache --enable-shared=no
  8. #
  9. # Compiler output produced by configure, useful for debugging
  10. # configure, is in ./config.log if it exists.
  11.  
  12. ac_cs_usage="Usage: ./config.status [--recheck] [--version] [--help]"
  13. for ac_option
  14. do
  15.   case "$ac_option" in
  16.   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  17.     echo "running ${CONFIG_SHELL-/bin/sh} ./configure  --prefix=/usr --build=m68k-unknown-amigaos --host=m68k-unknown-amigaos --cache-file=/etc/config.cache --enable-shared=no --no-create --no-recursion"
  18.     exec ${CONFIG_SHELL-/bin/sh} ./configure  --prefix=/usr --build=m68k-unknown-amigaos --host=m68k-unknown-amigaos --cache-file=/etc/config.cache --enable-shared=no --no-create --no-recursion ;;
  19.   -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
  20.     echo "./config.status generated by autoconf version 2.13"
  21.     exit 0 ;;
  22.   -help | --help | --hel | --he | --h)
  23.     echo "$ac_cs_usage"; exit 0 ;;
  24.   *) echo "$ac_cs_usage"; exit 1 ;;
  25.   esac
  26. done
  27.  
  28. ac_given_srcdir=.
  29. ac_given_INSTALL="/bin/install -c"
  30.  
  31. trap 'rm -fr Makefile txtc.sh src/Makefile doc/Makefile doc/gengetopt.1 
  32.            doc/gengetopt.html tests/Makefile tests/no_optgiven.sh
  33.            tests/more_than_once.sh config.h conftest*; exit 1' 1 2 15
  34.  
  35. # Protect against being on the right side of a sed subst in config.status.
  36. sed 's/%@/@@/; s/@%/@@/; s/%g$/@g/; /@g$/s/[\\&%]/\\&/g;
  37.  s/@@/%@/; s/@@/@%/; s/@g$/%g/' > conftest.subs <<\CEOF
  38. /^[     ]*VPATH[     ]*=[^:]*$/d
  39.  
  40. s%@SHELL@%/bin/sh%g
  41. s%@CFLAGS@%-g -O2%g
  42. s%@CPPFLAGS@%%g
  43. s%@CXXFLAGS@%-g -O2%g
  44. s%@FFLAGS@%%g
  45. s%@DEFS@%-DHAVE_CONFIG_H%g
  46. s%@LDFLAGS@%%g
  47. s%@LIBS@%-lfl %g
  48. s%@exec_prefix@%${prefix}%g
  49. s%@prefix@%/usr%g
  50. s%@program_transform_name@%s,x,x,%g
  51. s%@bindir@%${exec_prefix}/bin%g
  52. s%@sbindir@%${exec_prefix}/sbin%g
  53. s%@libexecdir@%${exec_prefix}/libexec%g
  54. s%@datadir@%${prefix}/share%g
  55. s%@sysconfdir@%${prefix}/etc%g
  56. s%@sharedstatedir@%${prefix}/com%g
  57. s%@localstatedir@%${prefix}/var%g
  58. s%@libdir@%${exec_prefix}/lib%g
  59. s%@includedir@%${prefix}/include%g
  60. s%@oldincludedir@%/usr/include%g
  61. s%@infodir@%${prefix}/info%g
  62. s%@mandir@%${prefix}/man%g
  63. s%@INSTALL_PROGRAM@%${INSTALL}%g
  64. s%@INSTALL_SCRIPT@%${INSTALL_PROGRAM}%g
  65. s%@INSTALL_DATA@%${INSTALL} -m 644%g
  66. s%@PACKAGE@%gengetopt%g
  67. s%@VERSION@%2.6%g
  68. s%@ACLOCAL@%aclocal%g
  69. s%@AUTOCONF@%autoconf%g
  70. s%@AUTOMAKE@%automake%g
  71. s%@AUTOHEADER@%autoheader%g
  72. s%@MAKEINFO@%makeinfo%g
  73. s%@SET_MAKE@%%g
  74. s%@gengetoptdocdir@%${prefix}/share/doc/gengetopt%g
  75. s%@gengetoptexamplesdir@%${prefix}/share/doc/gengetopt/examples%g
  76. s%@CC@%gcc%g
  77. s%@CPP@%gcc -E%g
  78. s%@CXX@%c++%g
  79. s%@EXEEXT@%%g
  80. s%@AWK@%gawk%g
  81. s%@TXTC@%$(SHELL) $(top_builddir)/txtc.sh%g
  82. s%@YACC@%bison -b y -d -p%g
  83. s%@YFLAGS@% -d%g
  84. s%@LEX@%flex%g
  85. s%@LEXLIB@%-lfl%g
  86. s%@LEX_OUTPUT_ROOT@%lex.yy%g
  87. s%@LIBOBJS@% getopt.o getopt1.o%g
  88. s%@TAR@%/bin/tar%g
  89. s%@CPP2HTML@%%g
  90. s%@NO_GETOPTLONG_TRUE@%%g
  91. s%@NO_GETOPTLONG_FALSE@%#%g
  92. s%@NO_STRDUP_TRUE@%#%g
  93. s%@NO_STRDUP_FALSE@%%g
  94. s%@NO_CPP2HTML_TRUE@%%g
  95. s%@NO_CPP2HTML_FALSE@%#%g
  96.  
  97. CEOF
  98.  
  99. # Split the substitutions into bite-sized pieces for seds with
  100. # small command number limits, like on Digital OSF/1 and HP-UX.
  101. ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
  102. ac_file=1 # Number of current file.
  103. ac_beg=1 # First line for current file.
  104. ac_end=$ac_max_sed_cmds # Line after last line for current file.
  105. ac_more_lines=:
  106. ac_sed_cmds=""
  107. while $ac_more_lines; do
  108.   if test $ac_beg -gt 1; then
  109.     sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
  110.   else
  111.     sed "${ac_end}q" conftest.subs > conftest.s$ac_file
  112.   fi
  113.   if test ! -s conftest.s$ac_file; then
  114.     ac_more_lines=false
  115.     rm -f conftest.s$ac_file
  116.   else
  117.     if test -z "$ac_sed_cmds"; then
  118.       ac_sed_cmds="sed -f conftest.s$ac_file"
  119.     else
  120.       ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
  121.     fi
  122.     ac_file=`expr $ac_file + 1`
  123.     ac_beg=$ac_end
  124.     ac_end=`expr $ac_end + $ac_max_sed_cmds`
  125.   fi
  126. done
  127. if test -z "$ac_sed_cmds"; then
  128.   ac_sed_cmds=cat
  129. fi
  130.  
  131. CONFIG_FILES=${CONFIG_FILES-"Makefile txtc.sh src/Makefile doc/Makefile doc/gengetopt.1 
  132.            doc/gengetopt.html tests/Makefile tests/no_optgiven.sh
  133.            tests/more_than_once.sh"}
  134. for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
  135.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  136.   case "$ac_file" in
  137.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  138.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  139.   *) ac_file_in="${ac_file}.in" ;;
  140.   esac
  141.  
  142.   # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
  143.  
  144.   # Remove last slash and all that follows it.  Not all systems have dirname.
  145.   ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  146.   if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  147.     # The file is in a subdirectory.
  148.     test ! -d "$ac_dir" && mkdir "$ac_dir"
  149.     ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
  150.     # A "../" for each directory in $ac_dir_suffix.
  151.     ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
  152.   else
  153.     ac_dir_suffix= ac_dots=
  154.   fi
  155.  
  156.   case "$ac_given_srcdir" in
  157.   .)  srcdir=.
  158.       if test -z "$ac_dots"; then top_srcdir=.
  159.       else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
  160.   /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
  161.   *) # Relative path.
  162.     srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
  163.     top_srcdir="$ac_dots$ac_given_srcdir" ;;
  164.   esac
  165.  
  166.   case "$ac_given_INSTALL" in
  167.   [/$]*) INSTALL="$ac_given_INSTALL" ;;
  168.   *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
  169.   esac
  170.  
  171.   echo creating "$ac_file"
  172.   rm -f "$ac_file"
  173.   configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
  174.   case "$ac_file" in
  175.   *Makefile*) ac_comsub="1i\\
  176. # $configure_input" ;;
  177.   *) ac_comsub= ;;
  178.   esac
  179.  
  180.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  181.   sed -e "$ac_comsub
  182. s%@configure_input@%$configure_input%g
  183. s%@srcdir@%$srcdir%g
  184. s%@top_srcdir@%$top_srcdir%g
  185. s%@INSTALL@%$INSTALL%g
  186. " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
  187. fi; done
  188. rm -f conftest.s*
  189.  
  190. # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
  191. # NAME is the cpp macro being defined and VALUE is the value it is being given.
  192. #
  193. # ac_d sets the value in "#define NAME VALUE" lines.
  194. ac_dA='s%^\([     ]*\)#\([     ]*define[     ][     ]*\)'
  195. ac_dB='\([     ][     ]*\)[^     ]*%\1#\2'
  196. ac_dC='\3'
  197. ac_dD='%g'
  198. # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
  199. ac_uA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  200. ac_uB='\([     ]\)%\1#\2define\3'
  201. ac_uC=' '
  202. ac_uD='\4%g'
  203. # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
  204. ac_eA='s%^\([     ]*\)#\([     ]*\)undef\([     ][     ]*\)'
  205. ac_eB='$%\1#\2define\3'
  206. ac_eC=' '
  207. ac_eD='%g'
  208.  
  209. if test "${CONFIG_HEADERS+set}" != set; then
  210.   CONFIG_HEADERS="config.h"
  211. fi
  212. for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
  213.   # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
  214.   case "$ac_file" in
  215.   *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
  216.        ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
  217.   *) ac_file_in="${ac_file}.in" ;;
  218.   esac
  219.  
  220.   echo creating $ac_file
  221.  
  222.   rm -f conftest.frag conftest.in conftest.out
  223.   ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
  224.   cat $ac_file_inputs > conftest.in
  225.  
  226.   cat > conftest.frag <<CEOF
  227. ${ac_dA}PACKAGE${ac_dB}PACKAGE${ac_dC}"gengetopt"${ac_dD}
  228. ${ac_uA}PACKAGE${ac_uB}PACKAGE${ac_uC}"gengetopt"${ac_uD}
  229. ${ac_eA}PACKAGE${ac_eB}PACKAGE${ac_eC}"gengetopt"${ac_eD}
  230. ${ac_dA}VERSION${ac_dB}VERSION${ac_dC}"2.6"${ac_dD}
  231. ${ac_uA}VERSION${ac_uB}VERSION${ac_uC}"2.6"${ac_uD}
  232. ${ac_eA}VERSION${ac_eB}VERSION${ac_eC}"2.6"${ac_eD}
  233. ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
  234. ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
  235. ${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
  236. ${ac_dA}YYTEXT_POINTER${ac_dB}YYTEXT_POINTER${ac_dC}1${ac_dD}
  237. ${ac_uA}YYTEXT_POINTER${ac_uB}YYTEXT_POINTER${ac_uC}1${ac_uD}
  238. ${ac_eA}YYTEXT_POINTER${ac_eB}YYTEXT_POINTER${ac_eC}1${ac_eD}
  239. CEOF
  240.   sed -f conftest.frag conftest.in > conftest.out
  241.   rm -f conftest.in
  242.   mv conftest.out conftest.in
  243.  
  244.   cat > conftest.frag <<CEOF
  245. ${ac_dA}HAVE_LIBFL${ac_dB}HAVE_LIBFL${ac_dC}1${ac_dD}
  246. ${ac_uA}HAVE_LIBFL${ac_uB}HAVE_LIBFL${ac_uC}1${ac_uD}
  247. ${ac_eA}HAVE_LIBFL${ac_eB}HAVE_LIBFL${ac_eC}1${ac_eD}
  248. ${ac_dA}HAVE_YYWRAP${ac_dB}HAVE_YYWRAP${ac_dC}1${ac_dD}
  249. ${ac_uA}HAVE_YYWRAP${ac_uB}HAVE_YYWRAP${ac_uC}1${ac_uD}
  250. ${ac_eA}HAVE_YYWRAP${ac_eB}HAVE_YYWRAP${ac_eC}1${ac_eD}
  251. ${ac_dA}STDC_HEADERS${ac_dB}STDC_HEADERS${ac_dC}1${ac_dD}
  252. ${ac_uA}STDC_HEADERS${ac_uB}STDC_HEADERS${ac_uC}1${ac_uD}
  253. ${ac_eA}STDC_HEADERS${ac_eB}STDC_HEADERS${ac_eC}1${ac_eD}
  254. ${ac_dA}HAVE_MALLOC_H${ac_dB}HAVE_MALLOC_H${ac_dC}1${ac_dD}
  255. ${ac_uA}HAVE_MALLOC_H${ac_uB}HAVE_MALLOC_H${ac_uC}1${ac_uD}
  256. ${ac_eA}HAVE_MALLOC_H${ac_eB}HAVE_MALLOC_H${ac_eC}1${ac_eD}
  257. CEOF
  258.   sed -f conftest.frag conftest.in > conftest.out
  259.   rm -f conftest.in
  260.   mv conftest.out conftest.in
  261.  
  262.   cat > conftest.frag <<CEOF
  263. ${ac_dA}HAVE_STRINGS_H${ac_dB}HAVE_STRINGS_H${ac_dC}1${ac_dD}
  264. ${ac_uA}HAVE_STRINGS_H${ac_uB}HAVE_STRINGS_H${ac_uC}1${ac_uD}
  265. ${ac_eA}HAVE_STRINGS_H${ac_eB}HAVE_STRINGS_H${ac_eC}1${ac_eD}
  266. ${ac_dA}HAVE_UNISTD_H${ac_dB}HAVE_UNISTD_H${ac_dC}1${ac_dD}
  267. ${ac_uA}HAVE_UNISTD_H${ac_uB}HAVE_UNISTD_H${ac_uC}1${ac_uD}
  268. ${ac_eA}HAVE_UNISTD_H${ac_eB}HAVE_UNISTD_H${ac_eC}1${ac_eD}
  269. ${ac_dA}HAVE_STRDUP${ac_dB}HAVE_STRDUP${ac_dC}1${ac_dD}
  270. ${ac_uA}HAVE_STRDUP${ac_uB}HAVE_STRDUP${ac_uC}1${ac_uD}
  271. ${ac_eA}HAVE_STRDUP${ac_eB}HAVE_STRDUP${ac_eC}1${ac_eD}
  272. s%^[     ]*#[     ]*undef[     ][     ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
  273. CEOF
  274.   sed -f conftest.frag conftest.in > conftest.out
  275.   rm -f conftest.in
  276.   mv conftest.out conftest.in
  277.  
  278.   rm -f conftest.frag conftest.h
  279.   echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
  280.   cat conftest.in >> conftest.h
  281.   rm -f conftest.in
  282.   if cmp -s $ac_file conftest.h 2>/dev/null; then
  283.     echo "$ac_file is unchanged"
  284.     rm -f conftest.h
  285.   else
  286.     # Remove last slash and all that follows it.  Not all systems have dirname.
  287.       ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
  288.       if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
  289.       # The file is in a subdirectory.
  290.       test ! -d "$ac_dir" && mkdir "$ac_dir"
  291.     fi
  292.     rm -f $ac_file
  293.     mv conftest.h $ac_file
  294.   fi
  295. fi; done
  296.  
  297.  
  298.  
  299. test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
  300. chmod +x tests/no_optgiven.sh
  301.            chmod +x tests/more_than_once.sh
  302. exit 0
  303.